package com.tjbklx1.pattern.builder.demo1;

import java.util.ArrayList;

public class TestApp {
	
	public static void main(String[] args) {
		CarModel car = new BMWModel();
		ArrayList<String> sequence = new ArrayList<String>();
		sequence.add("engineBoom");
		sequence.add("alarm");
		sequence.add("start");
		sequence.add("alart");
		sequence.add("engineBoom");
		sequence.add("stop");
		car.setSequence(sequence);
		car.run();
	}
}
